import request from '@/utils/request'

// 查询绩效评估页面绩效列表
export function getAssessInfoList(query) {
  return request({
    url: '/system/performanceAssess/getAssessInfoList',
    method: 'get',
    params: query
  })
}


export function changeAssessEmp(query) {
  return request({
    url: '/system/performanceAssess/changeAssessEmp',
    method: 'get',
    params: query
  })
}


export function assessmentEmp(aid, uid) {
  return request({
    url: '/system/performanceAssess/assessmentEmp/' + aid + '/' + uid,
    method: 'get'
  })
}


export function updateAssessEmp(data) {
  return request({
    url: '/system/performanceAssess/updateAssessEmp',
    method: 'put',
    data: data
  })
}


export function excelImport(file) {
  return request({
    url: '/system/performanceAssess/excelImport',
    method: 'post',
    data: file
  })
}
